
/* 这个文件放多个页面都要使用的公共样式 */
/* 清除浏览器的默认样式 */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    height: 100%;
}

body{
    height: 100%;
    background-image: url(../img/logo2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.nav{
    /* 导航栏高度普遍50像素 */
    height: 50px;
    background-color: rgba(50, 50, 50, 0.4);
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav img{
    width: 40px;
    height: 40px;
    margin-left: 3opx;
    margin-right: 10px;
    border-radius: 20px;
}

.nav .spacer{
    width: 70%;
}

.nav a{
    color: white;
    text-decoration: none;
    padding: 0 10px;
}

.container{
    width: 1000px;
    margin: 0 auto;
    height: calc(100% - 50px);
    display: flex;
    justify-content: space-between;
}

.container .container-left{
    width: 200px;
    height: 100%;
    /* background-color: rgba(190, 15, 15, 0.4); */
}

.container .container-right{
    width: 796px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 20px;
    /* 超出范围自动添加滚动条 */
    overflow: auto;
}

.card{
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 20px;
}

.card img{
    width: 140px;
    height: 140px;
    border-radius: 70px;
}

.card h3{
    text-align: center;
    padding: 10px;
}

.card a{
    display: block;
    text-align: center;
    padding: 10px 0;
    color: #999;
    text-decoration: none;
}

.card .counter{
    display: flex;
    justify-content: space-around;
    padding: 5px;
}